package com.ecloud.gardensterminal.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecloud.gardensterminal.controller.dto.GardensDeviceSelectDto;
import com.ecloud.gardensterminal.domain.GardensSleet;

import java.util.List;

/**
 * @author Squbi
 */
public interface GardensSleetMapper extends BaseMapper<GardensSleet> {
    /**
     * 分页查询Sleet数据
     * @param dto dto
     * @return GardensSleet
     * @author Squbi
     * @date 2021/8/30 16:55
     */
    List<GardensSleet> selectPageByDto(GardensDeviceSelectDto dto);

    /**
     * 删除大于15天的数据
     *
     * @author Squbi
     * @date 2021/9/18 15:25
     */
    void delete15days();
}
